package com.umeox.watch.moto.dataservice.db.model;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;

/**
 * Created by Rambo 2022/9/16
 * Describe:
 */
@Entity(tableName = PrayerSetting.TABLE_NAME)
public class PrayerSetting {

    @Ignore
    public static final String TABLE_NAME = "prayer_setting";

    @PrimaryKey(autoGenerate = true)
    private int _id;

    private String name;

    private String note;

    private double fajrAngle;

    private int maghribSelector;

    private double maghribValue;

    private int ishaSelector;

    private double ishaValue;

    @ColumnInfo(name = "prayerIndex")
    private int index;

    private int asrJuristicMethod;

    private String azan;

    private int prayerReminder;

    public int get_id() {
        return _id;
    }

    public void set_id(int _id) {
        this._id = _id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public double getFajrAngle() {
        return fajrAngle;
    }

    public void setFajrAngle(double fajrAngle) {
        this.fajrAngle = fajrAngle;
    }

    public int getMaghribSelector() {
        return maghribSelector;
    }

    public void setMaghribSelector(int maghribSelector) {
        this.maghribSelector = maghribSelector;
    }

    public double getMaghribValue() {
        return maghribValue;
    }

    public void setMaghribValue(double maghribValue) {
        this.maghribValue = maghribValue;
    }

    public int getIshaSelector() {
        return ishaSelector;
    }

    public void setIshaSelector(int ishaSelector) {
        this.ishaSelector = ishaSelector;
    }

    public double getIshaValue() {
        return ishaValue;
    }

    public void setIshaValue(double ishaValue) {
        this.ishaValue = ishaValue;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public int getAsrJuristicMethod() {
        return asrJuristicMethod;
    }

    public void setAsrJuristicMethod(int asrJuristicMethod) {
        this.asrJuristicMethod = asrJuristicMethod;
    }

    public String getAzan() {
        return azan;
    }

    public void setAzan(String azan) {
        this.azan = azan;
    }

    public int getPrayerReminder() {
        return prayerReminder;
    }

    public void setPrayerReminder(int prayerReminder) {
        this.prayerReminder = prayerReminder;
    }


    @Override
    public String toString() {
        return "PrayerSetting{" +
                "name='" + name + '\'' +
                ", note='" + note + '\'' +
                ", fajrAngle=" + fajrAngle +
                ", maghribSelector=" + maghribSelector +
                ", maghribValue=" + maghribValue +
                ", ishaSelector=" + ishaSelector +
                ", ishaValue=" + ishaValue +
                ", index=" + index +
                ", asrJuristicMethod=" + asrJuristicMethod +
                ", azan='" + azan + '\'' +
                ", prayerReminder=" + prayerReminder +
                '}';
    }
}
